import IPosition from "./IPosition";
import IShape from "./IShape";

interface IParkModel {
  name: string;
  size: { width: number; height: number };
}

interface IPillarModel {
  name: string;
  yHeight: number;
  size: { width: number; height: number };
}

export default interface IMap {
  /** 地表 */
  floors: IShape[];
  /** 型号 */
  models: {
    park?: IParkModel[];
    pillar?: IPillarModel[];
  };
  /** 数据（主要是位置） */
  data: {
    park?: { name?: string; pos: IPosition }[];
    pillar?: { name?: string; pos: IPosition }[];
  };
}
